/*
 * Copyright 2003-2005 (c) Live Media Pty Ltd. <argot@einet.com.au> 
 *
 * This software is licensed under the Argot Public License 
 * which may be found in the file LICENSE distributed 
 * with this software.
 *
 * More information about this license can be found at
 * http://www.einet.com.au/License
 * 
 * The Developer of this software is Live Media Pty Ltd,
 * PO Box 4591, Melbourne 3001, Australia.  The license is subject 
 * to the law of Victoria, Australia, and subject to exclusive 
 * jurisdiction of the Victorian courts.
 */

#include "../Types.h"

#include "Empty.h"

type_name empty_name = { "empty" };

int empty_read( type_input_stream * in, type_element * element, void * data ) 
{
	/* There is nothing to read, as this is an empty value. */
	type_stack_set_u8( &in->stack, element, 0 );
	return TYPE_OK;
}

int empty_write(type_output_stream * out, void * o, type_element * element, void * data )
{
	/* There is nothing to write, as this is an empty value. */
	return TYPE_OK;
}

